package vin.pth.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 鉴权控制器.
 *
 * @author cocoon
 */
@RestController
public class AuthenticationController {

  @GetMapping("/test")
  public String test() {
    return "success";
  }

  @GetMapping("/admin")
  public String admin() {
    return "success";
  }

  @GetMapping("/anonymous")
  public String anonymous() {
    return "success";
  }

}
